<?php
session_start();

$dbhost = "localhost";
$dbuser = "root";
$dbpass = "";
$dbname = "marketin_honlap";

$conn = mysql_connect($dbhost, $dbuser, $dbpass, $dbname);
if($conn){
	$db = mysql_select_db($dbname);
	if(!$db){
		print "Adatbázis hiba!";
		exit;
	}
}
else{
	print "Adatbázis szerver hiba!";
	exit;
}
?>